<template>
    <div >
      <Userinfo v-if="$store.state.user.userType == 1"></Userinfo>
      <Factory v-if="$store.state.user.userType == 2"></Factory>
      <Zone v-if="$store.state.user.userType == 3"></Zone>
    </div>
</template>

<script>
  import Userinfo from "./Userinfo";
  import Factory from "./Factory";
  import Zone from "./Zone";
  export default {
    name: "info",
    components: {Zone, Factory, Userinfo},
    data() {
      return {
      }
    }
  }
</script>

<style scoped>

</style>
